<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group speak">
        <label class="control-label col-xs-12 col-sm-2">{:__('讲解员')}:</label>
        <div class="col-xs-12 col-sm-8">
            <select class="form-control" name="row[user_id]">
                <option value="" selected>--请选择--</option>
                {foreach $name as $k=>$val}
                {if condition="$k eq $row.user_id"}
                <option value="{$k}" selected>{$val}</option>
                {else/}
                <option value="{$k}" >{$val}</option>
                {/if}

                {/foreach}
            </select>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Day')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-day" class="form-control" name="row[day]" type="text" value="{$row.day|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Between_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <select class="form-control" name="row[between_time]">
                {foreach $vistime as $k=>$val}
                {if condition="$k eq $row.between_time"}
                <option value="{$k}" selected>{$val}</option>
                {else/}
                <option value="{$k}" >{$val}</option>
                {/if}

                {/foreach}
            </select>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
